<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>业务表单</title>
    <%@include file="/common/header.jspf"%>
</head>
<body>
<div class="menu-right" style="">
    <a class="button icon-save" id="btn_save">
        保存
    </a>
   <%-- <a class="button icon-refer" id="">
        提交
    </a>--%>
    <%--<a class="button icon-export">
        报告
    </a>--%>
</div>
<form id="form1" method="post">
    <input name="id" value="${technicalReport.id}" hidden/>
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <div class="cuttle" style="height: 120px;">
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">技术报告名称:</label>
                    <input id="technicalReport" class="easyui-textbox" required="true" name="technicalReport" value="${technicalReport.technicalReport}" style="width: 965px">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width:550px">
                    <label class="lable-style">年度:</label>
                    <select class="easyui-combobox" id="year" name="year" style="width: 415px" data-options="required:true,editable:false,selectOnNavigation:true">
                        <option></option>
                        <c:forEach var="i" begin="2000" end="2050" varStatus="status">
                            <option value="${i}" <c:if test="${i==technicalReport.year}">selected</c:if>>${i}</option>
                        </c:forEach>
                    </select>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">类型:</label>
                    <select class="easyui-combobox" id="type" name="type" style="width: 415px" data-options="required:true,editable:false,selectOnNavigation:true">
                        <option></option>
                        <option value="上半年" <c:if test="${'上半年'==technicalReport.type}">selected</c:if>>上半年</option>
                        <option value="下半年" <c:if test="${'下半年'==technicalReport.type}">selected</c:if>>下半年</option>
                    </select>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">关键装置/要害部位:</label>
                    <input id="criticalParts" class="easyui-textbox" required="true" name="criticalParts" value="${technicalReport.criticalParts}" style="width: 965px">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both;height:57px;">
                <div class="form_one fotm-textarea" style="width: 1100px">
                    <label class="lable-style">报告描述:</label>
                    <input class="easyui-textbox" data-options="multiline:true" style="height: 50px;width: 965px;" name="reportDescription" value="${technicalReport.reportDescription}"/>
                </div>
            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>附件</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <accessory:accessorySimple permission="write"  packageKey="tcrp" uploadUserId="${uploadUserId}" packageInfos="${accessoryList}"  accessoryType = "txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
    </div>
    <div class="information" style="height: 200px;">
        <div class="information-title">
            <p>登记人</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <div class="cuttle" style="height: 220px;">
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">登记人:</label>
                    <input name="addUserId" value="${technicalReport.addUserId}" hidden/>
                    <input class="easyui-textbox" style="width: 240px;" value="${technicalReport.addUserName}" editable="false">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">登记部门:</label>
                    <input name = "addDeptId" value="${technicalReport.addDeptId}" hidden/>
                    <input  value="${technicalReport.addDeptName}" class="easyui-textbox" editable="false" style="width: 240px;">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">登记时间:</label>
                    <input name = "addTime" value="${technicalReport.addTime}" class="easyui-textbox" editable="false" style="width: 240px;">
                    <span>*</span>
                </div>
            </div>
        </div>
    </div>



</form>
<script src="${ctx}/resources/js/majorHazard/technicalReport/edit.js" type="text/javascript"></script>
</body>
</html>
